<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
		<title>${application}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<style type="text/css" media="screen">
			html, body, #${application}_div	{ height:100%; }
			body					{ margin:0; padding:0; overflow:hidden; }
		</style>
		<link rel="stylesheet" type="text/css" href="history/history.css" />
		<script type="text/javascript" src="history/history.js" ></script>
		<script type="text/javascript" src="swfobject.js"></script>
		<script type="text/javascript" src="FABridge.js"></script>
		<script type="text/javascript" src="prototype-1.6.0.2.js"></script>
		<script type="text/javascript" src="GoogleWeatherWidgetFlex.js"></script>
		<script type="text/javascript">
    		var flashvars = {
			  bridgeName: "googleWeatherWidget"
			};
			var params = {
			  menu: "false"
			};
			var attributes = {
			  id: "${application}",
			  name: "${application}"
			};
    		
	   		swfobject.embedSWF ( "${swf}.swf", "${application}_div", "${width}", "${height}", "${version_major}", 
	   			"expressInstall.swf", flashvars, params, attributes );
	   		swfobject.addLoadEvent(loadEventHandler);
			function loadEventHandler() {
				BrowserHistory.flexApplication = swfobject.getObjectById("${application}");
			}
	    </script>
		<style>
			body { margin: 0px; overflow:hidden }
		</style>
	</head>
	<body>
		<div id="${application}_div">
			 <p>Alternative content</p>
			 <p>
				 <a href="http://www.adobe.com/go/getflashplayer">
				 	<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" 
				 		alt="Get Adobe Flash player" />
				 </a>
			 </p>
		</div>
	</body>
</html>
